$OpenBSD: patch-configure,v 1.13 2012/04/22 12:12:30 jasper Exp $
--- configure.orig	Thu Mar 29 15:45:15 2012
+++ configure	Mon Apr  2 19:49:37 2012
@@ -14951,7 +14951,7 @@ fi
     VORBIS_LIBS="-L$prefix/lib"
   fi
 
-  VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
+  VORBIS_LIBS="$VORBIS_LIBS -lvorbis -logg -lm"
   VORBISFILE_LIBS="-lvorbisfile"
   VORBISENC_LIBS="-lvorbisenc"
 
@@ -15111,11 +15111,7 @@ if test "x$with_lame" != "xno"; then
 OLD_CFLAGS=$CFLAGS
 OLD_LIBS=$LIBS
 
-if test x$have_vorbis = xtrue; then
-LIBS="$LIBS -lmp3lame -lvorbis -lm"
-else
 LIBS="$LIBS -lmp3lame -lm"
-fi
 
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame" >&5
